package com.hfjyz.base.entity;

import java.util.Date;


public class UserEntity extends BaseEntity {
    private DepartEntity depart;
    private String userId;
    private String userName;
    private String password;
    private Boolean isMale;
    private Date birthday;

    // Constructors

    /** default constructor */
    public UserEntity() {
    }

    /** minimal constructor */
    public UserEntity(DepartEntity depart, String userId, String userName,
            String password, Boolean isMale) {
        this.depart = depart;
        this.userId = userId;
        this.userName = userName;
        this.password = password;
        this.isMale = isMale;
    }

    /** full constructor */
    public UserEntity(DepartEntity depart, String userId, String userName, String password,
            Boolean isMale, Date birthday) {
        this.depart = depart;
        this.userId = userId;
        this.userName = userName;
        this.password = password;
        this.isMale = isMale;
        this.birthday = birthday;
    }

    public DepartEntity getDepart() {
        return this.depart;
    }

    public void setDepart(DepartEntity depart) {
        this.depart = depart;
    }

    public String getUserId() {
        return this.userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return this.userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return this.password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Boolean getIsMale() {
        return this.isMale;
    }

    public void setIsMale(Boolean isMale) {
        this.isMale = isMale;
    }

    public Date getBirthday() {
        return this.birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }
}
